package me.yushuai.wukong.base.config;

import me.yushuai.wukong.base.api.dto.ConfigVariableBizId;

/**
 * @author zhoushuai@189.cn
 * @since 2023-05-24
 */
public interface BaseConstant {

    /**
     * Sku的全局配置
     */
    String GLOBAL_SKU_CONF = "GLOBAL-SKU-CONF";

    /**
     * 仓库全局配置
     */
    String GLOBAL_WAREHOUSE_CONF = "GLOBAL-WAREHOUSE-CONF";

    /**
     * 收货全局配置
     */
    String GLOBAL_RECEIVE_CONF = "GLOBAL-RECEIVE-CONF";


    /**
     * Sku的配置项
     */
    interface SkuConf {

        /**
         * 不允许入库
         */
        String NOT_ALLOWED_RECEIVE = "not_allowed_receive";

        /**
         * 不允许入库配置项
         */
        ConfigVariableBizId NOT_ALLOWED_RECEIVING = new ConfigVariableBizId(GLOBAL_SKU_CONF, NOT_ALLOWED_RECEIVE);
    }

    /**
     * 仓库Api配置
     */
    interface WarehouseConf {
        ConfigVariableBizId NOT_ALLOWED_RECEIVING = new ConfigVariableBizId(GLOBAL_WAREHOUSE_CONF, "");
    }


}
